//
//  ValidateSecureToken.m
//  Staff
//
//  Created by caiyao on 1/13/15.
//
//

#import "ValidateSecureToken.h"

@implementation ValidateSecureToken

- (void)excute {
    
    NSString *value = [self.command.functionParamsDic objectForKey:@"value"];
    
    if ((value !=nil)&&
        ([value isEqualToString:@"d0a86970cfb52b2e2f4749943ee990b3e941a26a9bff998ef564ed9d2a8d5006"]))
    {
        // excute callbackJS
        [self excuteCallBackJSWithParameters:@"true"];
    }
    else
    {
        [self excuteCallBackJSWithParameters:@"true"];
    }

}

@end
